[contenteditable="true"]:hover {
	outline: none;
	border: none;
}

[contenteditable="true"]:active,[contenteditable="true"]:focus {
	outline: none;
	border: none;
}

[contenteditable="true"]:focus::before {
	content: none;
}

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background-color: #373B3F;
}

::-webkit-scrollbar-thumb {
	border-radius: 4px;
	background-color: gray;
}

body {
	margin: 0 auto;
	padding: 0;
	background-color: #a0a6ab;
	overflow: hidden;
}

canvas {
	vertical-align: bottom;
}

img {
	vertical-align: bottom;
}

.Blue {
	background-color: rgba(57, 113, 196, 0.55);
}

.Yellow {
	background-color: rgba(247, 177, 42, 0.55);
}

.Red {
	background-color: rgba(204, 43, 43, 0.55);
}

.Green {
	background-color: rgba(4, 164, 75, 0.55);
}

div.blue {
	background-color: rgb(57, 113, 196);
}

div.yellow {
	background-color: rgb(247, 177, 42);
}

div.red {
	background-color: rgb(204, 43, 43);
}

div.green {
	background-color: rgb(4, 164, 75);
}

p.blue {
	color: rgb(57, 113, 196);
}

p.yellow {
	color: rgb(247, 177, 42);
}

p.red {
	color: rgb(204, 43, 43);
}

p.green {
	color: rgb(4, 164, 75);
}

#content {
	/*
	display: none;
	*/
	margin: 0 auto;
	background-color: #373B3F;
	overflow: hidden;
	margin-top: 2.5%;
	border: 2px solid #2E4050;
	border-radius: 3px;
	box-shadow: 0px 0px 16px #4E4E4E;
}

#splash {
	display: none;
	padding: 5%;
	font-family: sans-serif;
	font-size: 325%;
	text-align: center;
	color: white;
	padding-top: 63%;
	height: 100%;
}

#splash a:hover{
	text-decoration: underline;
}

#splash a{
	text-decoration: none;
	font-size: 50%;
	color: white;
}

#patio {
	background-color: #888;
	display: none;
	overflow: auto;
}

#tables {
	overflow: inherit;
}

#tables :first-child {
	margin-top: 0px;
}

.table {
	background-color: #373B3F;
	font-family: sans-serif;
	margin-top: 2px;
	padding: 2.5%;
	color: white;
}

.table-id-container {
	float: right;
	margin-right: 2%;
}

.table-id {
	font-size: 100%;
	line-height: 100%;
	padding-top: 15%;
}

.color {
	float: left;
	width: 17%;
	font-size: 280%;
	text-align: center;
	margin-left: 1%;
	margin-right: 1%;
	border-radius: 13px;
	/*
	border: 2px solid #394C5F;
	box-shadow: 0px 0px 3px rgba(255, 255, 255, 0.3);
	*/
	border: 2px solid #9BA2AA;

	/*
	transition: all 0.75s ease-in-out;
	*/
}

#game {
	/*
	display: none;
	*/
	transition: all 1s ease-in-out;
}

#messages {
	height: 39px;
	display: none;
	margin: 0;
	padding: 0;
	color: white;
	text-align: center;
	font-family: monospace;
	line-height: 39px;
	font-size: 150%;
}


.fromBlue {
	background-color: rgb(57, 113, 196);
}

.fromYellow {
	background-color: rgb(247, 177, 42);
}

.fromRed {
	background-color: rgb(204, 43, 43);
}

.fromGreen {
	background-color: rgba(4, 164, 75, 1);
}


#input {
	font-family: monospace;
	display: none;
	text-align: center;
	color: white;
	/*
	background-color: rgba(57, 113, 196, 1);
	*/
	position: fixed;
	opacity: 0.92;
	padding: 6px;
	font-size: 150%;
	width: 338px;
	border-style: solid;
	border-width: 5px;
}

#input.toBlue {
	border-color: rgb(57, 113, 196);
}

#input.toYellow {
	border-color: rgb(247, 177, 42);
}

#input.toRed {
	border-color: rgb(204, 43, 43);
}

#input.toGreen {
	border-color: rgba(4, 164, 75, 1);
}

#players {
	/*
	display: none;
	*/
	transition: all 1s ease-in-out;
	/*
	margin-top: 2px;
	*/
}

#players div {
	float: left;
	width: 25%;
	padding-top: 2%;
	padding-bottom: 2%;
	font-size: 130%;
	font-family: sans-serif;
	text-align: center;
	color: #373B3F;
	opacity: 0.75;
	transition: all 0.5s ease-in-out;
	/*
	box-shadow: 0px 0px 3px rgba(255, 255, 255, 0.90);
	border-top-right-radius: 17px;
	border-top-left-radius: 17px;
	margin-left: 0.25%;
	margin-right: 0.25%;
	*/
}

#players div.Blue {
	background-color: rgba(57, 113, 196, 1);
	color: white;
}

#players div.Yellow {
	background-color: rgba(247, 177, 42, 1);
	color: white;
}

#players div.Red {
	background-color: rgba(204, 43, 43, 1);
	color: white;
}

#players div.Green {
	background-color: rgba(4, 164, 75, 1);
	color: white;
}

#board-container {
	overflow: hidden;
	border-top: 1px solid #a0a6ab;
	border-right: 1px solid #a0a6ab;
}

#board {
	border-left: 1px solid #a0a6ab;
}

#pieces {
	width: 100%;
	height: 100%;
	transition: all 0.75s ease-out;
}

#pieces div {
	margin: 0 auto;
	padding: 2px;
	padding-top: 3px;
	padding-bottom: 3px;
	transition: all 0.25s ease-in-out;
}

#pieces div img {
	margin: 1px;
	border-radius: 13px;
	border: 2px solid #242A30;
	box-shadow: 0px 0px 3px rgba(255, 255, 255, 0.3);
	transition: all 0.75s ease-in-out;
}

#pieces div img.used {
	opacity: 0.2;
	border: 2px solid #242A30;
	box-shadow: 0 0 0 #000;
}

/*
#ai{
	margin: 0 auto;
	background-color: #373B3F;
	font-family: sans-serif;
	margin-top: 2px;
	padding: 2.5%;
	color: white;	
}

#ai div.color {
	width: 25%;
	font-size: 280%;
	text-align: center;
	margin-left: 1%;
	margin-right: 1%;
	border-radius: 13px;
	border: 4px solid #9BA2AA;
}
*/
.not-available {
	opacity: 0.25;
}

.clear {
	clear: both;
}